home *** CD-ROM | disk | FTP | other *** search
- Mike's Achive Directory 2.0 - README.MAD - Copyright (c) 1989 by Mike Sax
-
-
- Introduction
-
-
- Mike's Archive Directory can list the directory of all popular archive
- types available and their self extracting .COM and .EXE files. MAD
- currently supports ARC, PAK, ZIP, ZOO, LZS, DWC and LZH archives and all
- self-extracting .COM and .EXE files created by SEA ARC, PK-ARC, PAK, PK-
- ZIP, SEZ (zoo), LARC (lzs), DWC and LHARC (lzh).
-
- I've made the MAD command set as compatible as possible with the DOS DIR
- command. So you can use the /P switch to let the program pause when the
- screen is full or the /W switch to show the archive members in wide
- format. (other switches: see below).
-
- Please send your complaints, comments, gifts and suggestions to :
-
- Mike Sax e-mail: Compuserve: 75470,1403
- Callaertstraat 23 FIDO Netmail: 2:513/14
- B-2700 Sint-Niklaas FunBoard: +32-33223057
- Belgium `-->(1200/2400 N,8,1)
-
- MAD is a free program. You don't have to pay me anything to use it.
- There's no obligation whatsoever. I just think you would be one hell of
- a nice guy (or girl) if you would send me five bucks, anyway! An airmail
- letter from the USA to Belgium requires 45 cents in stamps.
-
-
- Command-line interface
-
-
- MAD basically works like the DOS DIR command. The commandline format is:
-
- | MAD <archive name> [<archive members>] [/W][/P][/B][/T][/R] [>outfile]
-
- With <archive name> the name of the archive you want to view. This name
- can contain wildcards (eg: *.EXE) and doesn't require a file extension.
-
- | If you want to view only certain members of the archive you can type the
- | member filenames after the archive name. That's what <archive members>
- | means. (see also examples below).
-
- /P switch: When the screen is full, "- more -" will be displayed and you
- have to press a key to continue.
- /W switch: All files are displayed in wide format.
- /T switch: Displays the information in technical format. This parameter
- shows the CRC and displays the Method field in a technically
- more descriptive way. This switch can be useful if you are
- interested in data-compression but you don't want to keep a
- list of what Reduced, Packed, etc... means.
- | /R switch: Relax checking. This is useful when trying to list damaged
- | or irregular archives.
- /B switch: Display the archive name without the directory path.
-
-
- Examples:
-
- * To display the directory of the DEMO.ZIP archive:
-
- MAD DEMO
-
- * To show the directory of all archives that start with "SRC" in wide
- format:
-
- MAD SRC* /W
-
- * To show the directory of all archives in the D:\TEST directory, but
- pause when the screen is full:
-
- MAD D:\TEST\*.* /P
-
- * To redirect technical information about the PK361.EXE self-extracting
- archive to the PK.INF file:
-
- MAD PK361.EXE /T >PK.INF
-
- | * To display the dir of BAD.LZH, an archive that MAD couldn't recognize
- | when using "MAD BAD.LZH" :
- |
- | MAD BAD.LZH /R
-
- * To print a the dir of TEST.LZH:
-
- MAD TEST >prn
-
- | * To display the (partial) directory of all archives that contain files
- | like README.* or READ.ME or *.DOC:
- |
- | MAD *.* README.* READ.ME *.DOC
-
-
- Notes...
-
-
- MAD looks at ANY file specified regardless of extension. So if you have
- a ZIP file that has extension .LZH or .DTA, no problem, MAD will tell
- you it's a ZIP file and give you a directory of it.
-
- | To avoid showing directories of files that aren't really archives, MAD
- | ignores files that contain 'unrealistic' values. (Eg: ratio > 100%, year
- | > 95, day > 31, month > 12, size > 200 Mb, ...). Some archives however,
- | contain some of those unrealistic values and will be ignored by MAD. If
- | you want to show them anyway, you can use the /R(elax checking) switch.
- | Please note that, when using this switch with wild cards, you might get
- | the 'directory' of non-archives and get some garbage on your screen.
-
- | MAD tells you how much space you need on your hard disk to extract the
- | selected files. This is NOT equal to the total original file size! Why
- | not ? A DOS disk is divided in 'clusters'. On a normal hard disk, these
- | are 4096 bytes in size. Every DOS file is stored on these clusters, and
- | occupies a multiple of 4096 bytes on your hard disk. So a 1-byte file
- | will occupy 4096 bytes and a 23012 byte file will occupy 24576 bytes on
- | the disk. If you have an archive of 100 1-byte files, the total original
- | file size will be 100 bytes, but when extracted all these files will oc-
- | cupy 400K on your hard disk!
-
- MAD calculates the compression ratio, the same way LHARC does:
- 100 * (compressed file size / orignal file size)
- ARC and PAK, on the other hand, calculate the ratio differently:
- 100 - (100 * (compressed file size / orignal file size))
-
-
- Special thanks to Phil Katz and Steve Burg from PK-Ware for their infor-
- mation of PK-ZIP 1.0, and to Gus Smedstad from NoGate Consulting for his
- information on PAK 2.0. Also to Johan Zwiekhorst for beta-testing and
- useful tips.
-
-
- What's new ?
-
-
- | The new version 2.0 of MAD contains a few enhancments:
- |
- | - The user can display only certain members of an archive.
- | - Archives that contain filenames with a full pathname (LHARC or PK-ZIP
- | archives compiled with -p or -r switch) are fully supported.
- | - /R(elax checking) switch added for 'troublesome' archives.
- | - The name and version of the program that created the archivemember are
- | shown in the the last column of the directory listing.
- | - The minimum version of the program as well as the minimum free disk
- | required to extract the archive are shown at the bottom of the listing
-
-
- Compression methods: Technical description
-
-
- In the tables below, I try to explain the technical abbreviations I have
- used with the /T switch. This information is only useful when you're
- interested in the technical aspects of data-compression.
-
- ARC and PAK:
-
- Name Technical Description
- ----------- ------------ -----------------------------------------------
- Stored - No compression used
- Packed Rep.Pack. Repeated running length encoding
- Squeezed Huffman Huffman encoding
- Crunched LZW:12 Lempel-Ziv-Welch with 4K buffer, 12 bits codes
- Crunched P/LZW:12 First packing, then LZW 4K buffer with 12 bits
- Crunched P/LZW9-12 Packing,LZW, 4K buffer, var. length (9-12 bits)
- Squashed LZW9-13 LZW, 8K buffer, variable length (9-13 bits)
- Crushed P/LZW2-13 Packing, then LZW 8K buffer, 2-13 bits(PAK 1.0)
- Distill LZHuff/8K Dynamic Huffman with 8K buffer. (PAK 2.0)
-
-
- ZOO and DWC:
-
- Name Technical Description
- ----------- ------------ -----------------------------------------------
- Stored - No compression used
- Crunched P/LZW9-12 Packing,LZW, 4K buffer, var. length (9-12 bits)
-
-
- LHARC and LARC:
-
- Name Technical Description
- ----------- ------------ -----------------------------------------------
- -lh0- - No compression used
- -lh1- LZHuff/4K LZW, 4K buffer, Huffman for upper 6 bits of pos
- -lz4- LZA-4 LZW, Arithmetic Encoding
- -lz5- LZA-5 LZW, Arithmetic Encoding
-
-
- ZIP:
-
- Name Technical Description
- ----------- ------------ -----------------------------------------------
- Stored - No compression used
- Shrunk LZW9-13/c LZW, 8K buffer, 9-13 bits with partial clearing
- Reduced-1 P/Prob<7 Probalistic compression, L(X) = lower 7 bits
- Reduced-2 P/Prob<6 Probalistic compression, L(X) = lower 6 bits
- Reduced-3 P/Prob<5 Probalistic compression, L(X) = lower 5 bits
- Reduced-4 P/Prob<4 Probalistic compression, L(X) = lower 4 bits
- Imploded ShaFa2/4K 2 Shanno-Fano trees, 4K sliding dictionary
- Imploded ShaFa3/4K 3 Shanno-Fano trees, 4K sliding dictionary
- Imploded ShaFa2/8K 2 Shanno-Fano trees, 8K sliding dictionary
- Imploded ShaFa3/8K 3 Shanno-Fano trees, 8K sliding dictionary
-
-
-
- The End
-
- ----------------end-of-author's-documentation---------------
-
- Software Library Information:
-
- This disk copy provided as a service of
-
- The Public (Software) Library
-
- We are not the authors of this program, nor are we associated
- with the author in any way other than as a distributor of the
- program in accordance with the author's terms of distribution.
-
- Please direct shareware payments and specific questions about
- this program to the author of the program, whose name appears
- elsewhere in this documentation. If you have trouble getting
- in touch with the author, we will do whatever we can to help
- you with your questions. All programs have been tested and do
- run. To report problems, please use the form that is in the
- file PROBLEM.DOC on many of our disks or in other written for-
- mat with screen printouts, if possible. The P(s)L cannot de-
- bug programs over the telephone.
-
- Disks in the P(s)L are updated monthly, so if you did not get
- this disk directly from the P(s)L, you should be aware that
- the files in this set may no longer be the current versions.
-
- For a copy of the latest monthly software library newsletter
- and a list of the 1,800+ disks in the library, call or write
-
- The Public (Software) Library
- P.O.Box 35705 - F
- Houston, TX 77235-5705
- (713) 665-7017
-